﻿/// <reference path="../Complaint.Namespaces.js" />
/// <reference path="BasePOCO.js" />

//Type: Contact
Complaint.POCO.Contact = function(title, firstName, lastName, jobTitle, email) {
    ///	<summary>
    ///		Contact object.
    ///	</summary>
    ///	<param name="title" type="Number">Title.</param>
    ///	<param name="firstName" type="String">First name.</param>
    ///	<param name="lastName" type="String">Last name.</param>
    ///	<param name="jobTitle" type="String">Job title.</param>
    ///	<param name="email" type="String">Email address.</param>
    var _propList = new Object();
    var _ctor = function(title, firstName, lastName, jobTitle, email) {
        _propList["title"] = title || new String();
        _propList["firstName"] = firstName || "";
        _propList["lastName"] = lastName || "";
        _propList["jobTitle"] = jobTitle || "";
        _propList["email"] = email || "";
    } (title, firstName, lastName, jobTitle, email);
    // members
    this.Title = _propList["title"];
    this.FirstName = _propList["firstName"];
    this.LastName = _propList["lastName"];
    this.JobTitle = _propList["jobTitle"];
    this.Email = _propList["email"];
}
Complaint.POCO.Contact.prototype = new Complaint.POCO.BasePOCO();
Complaint.POCO.Contact.prototype.Title = Complaint.POCO.Contact.Title;
Complaint.POCO.Contact.prototype.FirstName = Complaint.POCO.Contact.FirstName;
Complaint.POCO.Contact.prototype.LastName = Complaint.POCO.Contact.LastName;
Complaint.POCO.Contact.prototype.JobTitle = Complaint.POCO.Contact.JobTitle;
Complaint.POCO.Contact.prototype.Email = Complaint.POCO.Contact.Email;